package com.scfire.weixin

class MainMenu {
	
	int position
	String name
	String type
	String key
	
	SortedSet subMenus
	static hasMany = [subMenus:SubMenu]
	
    static constraints = {
		position nullable:true
		name nullable:true
		type nullable:true
		key nullable:true
		
		subMenus nullable:true
    }
}
